#include<iostream>
#include <gflags/gflags.h>


DEFINE_string(ip, "127.0.0.1", "这是监听IP地址");
DEFINE_int32(port, 9090, "这是监听端口号");
DEFINE_bool(debuge_enable, true, "是否启用调试模式");


int main(int argc, char *argv[])
{
    google::ParseCommandLineFlags(&argc, &argv, true);

    std::cout<<FLAGS_ip<<std::endl;
    std::cout<<FLAGS_port<<std::endl;
    std::cout<<FLAGS_debuge_enable<<std::endl;
    return 0;
}